Function |to_bytes
std/secret::|to_bytes
Usage
|to_bytes(secret, name)
Parameters
↳ secret: Secret<string>
↳ name: string
Return
↴ Secret<Vec<byte>>
Secret made of the UTF-8 bytes of a string secret, computed when revealed.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
std/secret::|to_bytes
|to_bytes(secret, name)
↳ secret: Secret<string>
↳ name: string
↴ Secret<Vec<byte>>
Secret made of the UTF-8 bytes of a string secret, computed when revealed.